package routers

import (
	"accounting-software/controllers"

	"github.com/gin-gonic/gin"
)

// 定义用户相关的路由
func SetupUserRoutes(r *gin.Engine, uc *controllers.UserController) {
	// 新建用户
	r.POST("/user", uc.AddUser)

	// 用户登录
	r.GET("login", uc.Login)
}
